package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤管理对象 kaoqin
 * 
 * @author ruoyi
 * @date 2021-03-23
 */
public class Kaoqin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStudentsId() {
        return studentsId;
    }

    public void setStudentsId(Long studentsId) {
        this.studentsId = studentsId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Date getDakaTime() {
        return dakaTime;
    }

    public void setDakaTime(Date dakaTime) {
        this.dakaTime = dakaTime;
    }

    @Override
    public String toString() {
        return "Kaoqin{" +
                "id=" + id +
                ", studentsId=" + studentsId +
                ", studentName='" + studentName + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", dakaTime=" + dakaTime +
                '}';
    }

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long studentsId;

    @Excel(name = "学员姓名")
    private String studentName;

    /** 打卡老师 */
    @Excel(name = "打卡老师")
    private String teacherName;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd mm:ss:hh")
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd  mm:ss:hh")
    private Date dakaTime;


}
